﻿@model GameSchoolApplication.Models.Announcement

@{
    ViewBag.Title = "Nánar";
	Layout = "~/Views/Shared/_TeacherMore.cshtml";
}

<h2>Nánar um skilaboð</h2>
<section id="TeacherSingleMainContent">
<fieldset>
    <legend></legend>

    <div class="display-label">Skilaboð:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Content)
    </div>

    <div class="display-label">Leikur:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Game.Title)
    </div>

    <div class="display-label">Dagssetning skráningar:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateTime)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Breyta", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Til baka í lista", "Index")
</p>
</section>